﻿<%@ Page Language="C#" MasterPageFile="~/template/main.Master" AutoEventWireup="true"
    CodeBehind="Index.aspx.cs" Inherits="Acc_Web.Index" Title="Untitled Page" %>

<%@ Register Src="controls/UserCtrl.ascx" TagName="UserCtrl" TagPrefix="uc1" %>
<%@ Register src="controls/CateItems.ascx" tagname="CateItems" tagprefix="uc1" %>
<%@ Register src="controls/Category.ascx" tagname="Category" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="_head" runat="server">

    <script language="javascript">
        function switchTag(tag, content) {
            	//alert(tag);
            	//alert(content);
            for (i = 1; i < 4; i++) {
                if ("tag" + i == tag) {
                    document.getElementById(tag).getElementsByTagName("a")[0].className = "selectli" + i;
                    document.getElementById(tag).className = "xunding"
                    document.getElementById(tag).getElementsByTagName("a")[0].getElementsByTagName("span")[0].className = "selectspan" + i;
                } else {
                    document.getElementById("tag" + i).getElementsByTagName("a")[0].className = "";
                    document.getElementById("tag" + i).className = "";
                    document.getElementById("tag" + i).getElementsByTagName("a")[0].getElementsByTagName("span")[0].className = "";
                }
                if ("content" + i == content) {
                    document.getElementById(content).className = "";
                } else {
                    document.getElementById("content" + i).className = "hidecontent";
                }
                document.getElementById("content").className = content;
            }
        }
    </script>

</asp:Content>
<asp:Content ID="_leftContent" ContentPlaceHolderID="_leftBody" runat="server">
    <div class="left">
        <div class="box1">
            <div class="login_top">
            </div>
            <div class="login_center">
                <uc1:UserCtrl ID="UserCtrl1" runat="server" />
            </div>
            <div class="login_bottom">
            </div>
        </div>
        <div class="box1">
            <div class="chongzhi_top">
            </div>
            <div class="chongzhi_center">
                <img src="images/ico1.gif" alt="点券充值" />&nbsp;&nbsp;<a href="step1.aspx">充值点券</a></div>
        </div>
        <div class="box1">
            <div class="fenlei_top">
            </div>
            <div class="fenlei_center">
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td colspan="2" class="font_green_title">
                            ☆影院出租
                        </td>
                    </tr>
                    <tr>
                        <td>
                           <uc1:Category id="serv1" runat="Server" SrvId="1" /> 
                        </td>
                    </tr>
                    <tr>
                        <td class="font_green_title border_top" colspan="2">
                            ☆VIP会员
                        </td>
                    </tr>
                    <tr>
                        <td>
                             <uc1:Category id="Category1" runat="Server" SrvId="2" /> 
                        </td>
                    </tr>
                    <tr>
                        <td class="font_green_title border_top" colspan="2">
                            ☆小喇叭礼包
                        </td>
                    </tr>
                    <tr>
                        <td>
                          <uc1:Category id="Category2" runat="Server" SrvId="3" /> 
                        </td>
                    </tr>
                </table>
            </div>
            <div class="fenlei_bottom">
            </div>
        </div>
        <div class=" box1">
            <div class="lianxi_top">
            </div>
            <div class="lianxi_center">
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td>
                            在线QQ客服：804390896<br />
                            用户交流群：22530604
                        </td>
                    </tr>
                    <tr>
                        <td class="border_top">
                            <img src="images/ico3.gif" />&nbsp;电话：021-50903732
                        </td>
                    </tr>
                </table>
            </div>
            <div class="fenlei_bottom">
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="_contentBody" runat="server">
    <div class="right">
        <div class="box1">
            <div class="lunzhuan">
                <img src="images/lunzhuan.jpg" width="521" height="192" />
            </div>
            <div class="zuixin">
                <div class="zuixin_top">
                </div>
                <div class="zuixin_center">
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                VS推出一系列的VIP道具，好戏连连玩遍社区无敌风火轮啊飞洒方发送
                            </td>
                        </tr>
                        <tr>
                            <td valign="bottom" align="right">
                                <a href="#">
                                    <img src="images/new_banner.gif" width="88" height="28" /></a>
                            </td>
                        </tr>
                    </table>
                </div>
                <a href="#">
                    <img src="images/ad12.gif" width="210" height="61" /></a>
            </div>
        </div>
        <div class="box1">
            <div class="shangpin_top">
                <ul>
                    <li id="tag1" class="xunding"><a href="javascript:" onclick="switchTag('tag1','content1');"
                        class="selectli1 selectspan1 " onfocus="blur()"><span class="selectspan1">影院出租</span></a></li>
                    <li id="tag2"><a href="javascript:" onclick="switchTag('tag2','content2');" onfocus="blur()">
                        <span>VIP会员</span></a></li>
                    <li id="tag3"><a href="javascript:" onclick="switchTag('tag3','content3');" onfocus="blur()">
                        <span>小喇叭礼包</span></a></li>
                </ul>
            </div>
            <div id="content" class="content1">
                <div id="content1">
                    <uc1:CateItems ID="CateItems3" runat="server" ServiceId="1"/>
                </div>
                <div id="content2" class="hidecontent">
                    <uc1:CateItems ID="CateItems2" runat="server" ServiceId="2"/>
                </div>
                <div id="content3" class="hidecontent">
                    <uc1:CateItems ID="CateItems1" runat="server" ServiceId="3"/>
                </div>
            </div>
            <div class="shangpin_bottom">
            </div>
        </div>
    </div>
</asp:Content>
